An Algebraic View of Structural Induction
نویسندگان
چکیده
We propose a uniform, category-theoretic account of structural induction for inductively deened data types. The account is based on the understanding of inductively deened data types as initial algebras for certain kind of endofunctors T : B !B on a bicartesian/distributive category B. Regarding a predicate logic as a bration p : P!B over B , we consider a logical predicate lifting of T to the total category P. Then, a predicate is inductive precisely when it carries an algebra structure for such lifted endofunctor. The validity of the induction principle is formulated by requiring that thètruth' predicate functor > : B !Ppreserve initial algebras. We then show that when the bration admits a comprehension principle, analogous to the one in set theory, it satisses the induction principle. We also consider the appropriate extensions of the above formulation to deal with initiality (and induction) in arbitrary contexts, i.e. thèstability' property of the induction principle.
منابع مشابه
"Scrap Your Boilerplate" Revolutions
Generic programming allows you to write a function once, and use it many times at different types. Traditionally, generic functions are defined by induction on the structure of types. “Scrap your boilerplate” (SYB) is a radically different approach that dispatches on the structure of values. In previous work, we have shown how to reconcile both approaches using the concept of generic views: man...
متن کاملStructural imsets: an algebraic method for describing conditional independence structures∗
The contribution recalls basic ideas of the method of structural imsets which is a non-graphical method for describing probabilistic conditional independence structures based on the use of special integral (= integervalued) vectors. The attention is devoted to the concept of independence implication between structural imsets defined as the inclusion of their induced conditional independence str...
متن کاملLambda Calculus,Conservative Extension and Structural Induction
The issue of whether embedding algebraic theories in higher-order theories such as the simply typed and polymorphic lambda calculi is of interest in programming language design. The establishment of such a conservative extension result permits modularity in the verification of the correctness of datatype and function implementations. In earlier work [Breazu-Tannen & Meyer 1987a], [Breazu-Tannen...
متن کاملInduction Motor Electric Parameters Estimation Using Artificial Neural Networkds and its Application in industrial Load Modeling
Load modeling is widely used in power system studies. Two types of modeling, namely, static and dynamic, are employed. The current industrial practice is the static modeling. Static modelss are algebraic equations of active and reactive power changes in terms of voltage and frequency deviations. In this paper, a component based on static modeling is employed in which the aggregate model is deri...
متن کاملInductive Proofs with Sets, and Some Applications in Process Algebra
We formalise proofs by structural induction on sets, speciied as an algebraic data type. The core idea is that the standard scheme for constructor induction can be used for the derivation of alternative schemes. This way, considerable exibility can be obtained for proofs in the inductive theory for the sets. For more general purposes we formulate a rule for`hybrid' induction, which allows a var...
متن کامل